package com.supms.patrol.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 提前下课记录 对象 supm_daily_inspection_outclass
 * 
 * @author LiangHao
 * @date 2022-03-15
 */
public class DailyInspectionOutclass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 日常巡查表ID */
    @Excel(name = "日常巡查表ID")
    private Long dailyInspectionId;

    /** 上课教室 */
    @Excel(name = "上课教室")
    private String classroom;

    /** 正常下课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "正常下课时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date normalTime;

    /** 实际下课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际下课时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actualTime;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 任课教师 */
    @Excel(name = "任课教师")
    private String tName;

    /** 年级专业班级 */
    @Excel(name = "年级专业班级")
    private String teachClass;

    /** 巡视人 */
    @Excel(name = "巡视人")
    private String supName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDailyInspectionId(Long dailyInspectionId) 
    {
        this.dailyInspectionId = dailyInspectionId;
    }

    public Long getDailyInspectionId() 
    {
        return dailyInspectionId;
    }
    public void setClassroom(String classroom) 
    {
        this.classroom = classroom;
    }

    public String getClassroom() 
    {
        return classroom;
    }
    public void setNormalTime(Date normalTime) 
    {
        this.normalTime = normalTime;
    }

    public Date getNormalTime() 
    {
        return normalTime;
    }
    public void setActualTime(Date actualTime) 
    {
        this.actualTime = actualTime;
    }

    public Date getActualTime() 
    {
        return actualTime;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void settName(String tName) 
    {
        this.tName = tName;
    }

    public String gettName() 
    {
        return tName;
    }
    public void setTeachClass(String teachClass) 
    {
        this.teachClass = teachClass;
    }

    public String getTeachClass() 
    {
        return teachClass;
    }
    public void setSupName(String supName) 
    {
        this.supName = supName;
    }

    public String getSupName() 
    {
        return supName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dailyInspectionId", getDailyInspectionId())
            .append("classroom", getClassroom())
            .append("normalTime", getNormalTime())
            .append("actualTime", getActualTime())
            .append("courseName", getCourseName())
            .append("tName", gettName())
            .append("teachClass", getTeachClass())
            .append("supName", getSupName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
